package app.v1.wdt.domain.pojo;

import app.common.ar.Ar;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.feizns.quickstart.ddl.annotation.Comment;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import java.time.LocalDate;

/**
 * wdt销售订单编号生成器
 * @author feizns
 * @since 2023/07/19
 */
@Entity
@Getter
@Setter
@ToString(callSuper = true)
@Accessors(chain = true)
@TableName(autoResultMap = true)
@NoArgsConstructor
@Comment("wdt销售订单编号生成器")
public class WdtSalesOrderIdGenerator extends Ar<WdtSalesOrderIdGenerator> {

    /**
     * 日期
     */
    @Comment("日期")
    private LocalDate date;

    /**
     * 店铺编号
     */
    @Comment("店铺编号")
    private String shopNo;

    /**
     * 仓库编号
     */
    @Comment("仓库编号")
    private String warehouseNo;

    /**
     * 下一个编号
     */
    @Comment("下一个编号")
    private Long nextId;

}
